package com.yingxin.yx.framework.user.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
public class AppPermissionDto {

    @ApiModelProperty(value = "id")
    private String id;

    @ApiModelProperty(value = "权限类型 M  LP")
    private String type;

    @ApiModelProperty(value = "层级")
    private Integer level;

    @ApiModelProperty(value = "父编号")
    private String parentId;

    @ApiModelProperty(value = "分组名称")
    private String applicationName;

    @ApiModelProperty(value = "图标底色")
    private String colorClass;
    @ApiModelProperty(value = "图标")
    private String icon;

    @ApiModelProperty(value = "页面地址")
    private String applicationPath;

    @ApiModelProperty(value = "状态开启关闭 :  0 关闭，1 开启")
    private String status;

    @ApiModelProperty(value = "是否展示并不启用")
    private String isShow;

    @ApiModelProperty(value = "排序")
    private Integer sort;
    /** 常用应用isAllowDel表示添加到常用应用后是否允许移除*/
    private Boolean isAllowDel = true;

    @ApiModelProperty("下级菜单权限")
    private List<AppPermissionDto> children;
}
